/*
* 路由对象模块
* */
import Vue from 'vue'
import VueRouter from 'vue-router'

/*引入pages*/
// const MSite = ()=>import('../pages/MSite/MSite');
// const Profile = ()=>import('../pages/Profile/profile');
// const Patient = ()=>import('../pages/Patient/Patient');

//申明使用插件
Vue.use(VueRouter)

export default new VueRouter({
  mode: 'history',
  routes:[
    {
      path: '/',
      redirect: '/msite' //系统默认页
    }
  ]
})